package cn.edu.bupt.scidata.mapper;

import cn.edu.bupt.scidata.model.paper.Clfcount;
import cn.edu.bupt.scidata.model.paper.Fund;
import cn.edu.bupt.scidata.model.paper.Paper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface PaperMapper {

//    统计交叉学科以及的论文总数
    List<Clfcount> countcid(int a_id);
    //    按关键词统计交叉学科以及的论文总数
    List<Clfcount> countkeyid(List<Integer> paperList);
    List<Clfcount> encountkeyid(List<Integer> paperList);

    List<Paper> querypaperbykey(List<Integer> paperList);

    List<Fund> queryfund(List<Integer> paperList);
}
